<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>myorder</title>
	<link rel="stylesheet" type="text/less" href="__PUBLIC__/css/common.less">
		<link rel="stylesheet" type="text/less" href="__PUBLIC__/css/myindent.less">
		
	<script type="text/javascript" src="__PUBLIC__/js/less-1.5.0.min.js"></script>
	<hdjs/>
	<script type="text/javascript" src="__PUBLIC__/js/login.js"></script>
	<script type="text/javascript" src="__PUBLIC__/js/content.js"></script>
	<style type="text/css">
		.frame_right .content .myoreder{width: 782px;height: 444px;border:solid 1px #e1e1e1;margin-top: 20px;background: #fafafa}
		.frame_right .content .myoreder .order_left{width: 341px;height: 424px;background: #fff;padding-top: 20px;padding-right: 18px;padding-left: 17px; float: left;}
		.frame_right .content .myoreder .order_left .f1{border-bottom: solid 1px #eeeeee;height: 80px;}
		.frame_right .content .myoreder .order_left .strorename{margin-bottom: 10px}
		.frame_right .content .myoreder .order_left .f1 .strorename a{font-size: 16px;font-family: "微软雅黑";color: #333;}
		.frame_right .content .myoreder .order_left .f1 p{margin-top: 5px;}
		.frame_right .content .myoreder .order_left .f2{height: auto;overflow: hidden;border-bottom: solid 1px #eeeeee;padding-bottom: 15px}
		.frame_right .content .myoreder .order_left .f2 table tr td.shopumb{width: 10%;text-align: right;}
		.frame_right .content .myoreder .order_left .f2 table{width: 100%}
		.frame_right .content .myoreder .order_left .f2 table tr{height: 40px;line-height: 40px;}
		.frame_right .content .myoreder .order_left .f2 table tr td{font-size: 14px;font-family: "微软雅黑"}
		.frame_right .content .myoreder .order_left .f2 table tr td.total{width: 30%;text-align: right;}
		.frame_right .content .myoreder .order_left .f2 .clearing{height: 40px;line-height: 40px;text-align: right;font-size: 14px;color: #999999}
		.frame_right .content .myoreder .order_left .f3 p{color: #999999;font-size: 14px;padding: 5px 0;display: block;}
		.frame_right .content .myoreder .order_right{float: left;width: 386px;height: 424;padding-left: 20px;padding-top: 20px;}
		.frame_right .content .myoreder .order_right .oreder_info{width: 368px;height: auto;overflow: hidden;}
		.frame_right .content .myoreder .order_right .oreder_success{width: 366px;height: 64px;border:solid 1px #dddddd;border-radius: 5px;position: relative;}

		.frame_right .content .myoreder .order_right .oreder_success .hint{position: absolute;font-size: 16px;left: 45px;top:10px;color: #333}
		.frame_right .content .myoreder .order_right .oreder_success .order_number{position: absolute;font-size: 14px;left: 45px;top: 30px;color: #999999}
		.frame_right .content .myoreder .order_right .oreder_success .time{position: absolute;font-size: 14px;right: 15px;top:10px;color: #999999}


		
	</style>
</head>
<body>
<include file='__VIEW__/common/header.html'/>
	<div id="frame" class="caitant">
		<include file='__VIEW__/common/myorderLeft.html'/>

		<div class="frame_right">
			<p class="title">全部订单<span><a class="pitch" href="javascript:;">全部订单(0)</a>|<a href="javascript:;">待评价(0)</a></span></p>

			<div class="content">
		<foreach from="$NewOrder" value="$v">
				<div class="myoreder">
				 <div class="order_left">
				 	<div class="f1">
				 	<div class="strorename"><a href="">{$v.store.stname}</a></div>
					<p class="merchants">商家电话：13478773125</p>
					<p class="Customer">客服电话：4000117777</p>
				 	</div>

				 	<div class="f2">
				 		<table>
				 		<foreach from="$v.shop" value="$value">
				 			<tr>
				 				<td class="shopname">{$value.shopname}</td>
				 				<td class="shopumb">{$value.number}</td>
				 				<td class="total">￥{$value.total}</td>
				 			</tr>
				 		</foreach>
				 			<tr>
				 			<td>配送费</td>
				 			<td class="shopumb"></td>
							<td class="total">￥{$v.store.delivery}</td>
				 			</tr>
				 			
				 		</table>
				 		<p class="clearing">总价：<span>￥<?php $total =  intval($v['store']['delivery'])+intval($v['myorder']['Clearing']);echo $total ?></span></p>
				 	</div>

				 	<div class="f3">
				 		<P>本单由 {$v.store.stname} 配送并提供售后服务</P>
				 		<?php
				 		$address = $v['myorder']['address'];
				 		$address = explode('$',$address);
				 		?>
				 		
				 		<P>送餐地址：{$address.3}</P>
				 		
				 		<p>联系人：{$address.0} <if value="in_array('女',$address)">女士</if><if value="in_array('男',$address)">先生</if></p>
				 		<p>送达时间：立即配送</p>
				 		<p>备注信息：请提供餐具,不吃辣,辣一点,不要一次性筷子,没零钱,不吃辣</p>
				 	

				 	</div>

				 </div>
				 <div class="order_right">
				
				 <div class="oreder_info">
							
				 	<div class="oreder_success">
				 		<div class="hint">订单提交成功</div>
				 		<div class="order_number">订单号：14138060659095 </div>
				 		<div class="time">{$v.myorder.ordtime|date:'H:i',@@}</div>

				 	</div>
				</div>
				 </div>
				</div>
		</foreach>
			</div>
		</div>
	</div>
</body>
</html>